import request from '@/utils/request'
import { transFormValue } from '@/utils/tools'

// 敏感号码创建
export function forbiddenPhoneCreate(data) {
  return request({
    url: '/forbiddenPhone/create' + transFormValue(data),
    method: 'post'
  })
}

// 敏感号码删除
export function forbiddenPhoneDelete(data) {
    return request({
      url: '/forbiddenPhone/delete' + transFormValue(data),
      method: 'post'
    })
}

// 敏感号码列表
export function forbiddenPhoneGetList(data) {
    return request({
      url: '/forbiddenPhone/getList' + transFormValue(data),
      method: 'post'
    })
}

// 敏感号码更新
export function forbiddenPhoneUpdate(data) {
    return request({
      url: '/forbiddenPhone/update' + transFormValue(data),
      method: 'post'
    })
  }

  